Optimal. Leaf size=23 \[ -\frac {\sin ^{-1}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{\sqrt {c}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {633, 222}
\begin {gather*} -\frac {\text {ArcSin}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{\sqrt {c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 633
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {\frac {-b^2+4 c}{4 c}+b x-c x^2}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{4 c}}} \, dx,x,b-2 c x\right )}{2 c}\\ &=-\frac {\sin ^{-1}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{\sqrt {c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(123\) vs. \(2(23)=46\).
time = 0.22, size = 123, normalized size = 5.35 \begin {gather*} 2 \left (-\frac {\tan ^{-1}\left (\frac {2 \sqrt {-c^2} x-\sqrt {c} \sqrt {4-\frac {b^2}{c}+4 b x-4 c x^2}}{b}\right )}{2 \sqrt {c}}-\frac {\log \left (2 c^2 x^2+c \left (-1-b x+\sqrt {-c} x \sqrt {4-\frac {b^2}{c}+4 b x-4 c x^2}\right )\right )}{4 \sqrt {-c}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(43\) vs.
\(2(17)=34\).
time = 0.60, size = 44, normalized size = 1.91
method | result | size |
default | \(\frac {\arctan \left (\frac {2 \sqrt {c}\, \left (x -\frac {b}{2 c}\right )}{\sqrt {-4 c \,x^{2}+4 b x -\frac {b^{2}-4 c}{c}}}\right )}{\sqrt {c}}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 19, normalized size = 0.83 \begin {gather*} -\frac {\arcsin \left (-\frac {2 \, c x - b}{2 \, \sqrt {c}}\right )}{\sqrt {c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 67 vs.
\(2 (19) = 38\).
time = 1.46, size = 141, normalized size = 6.13 \begin {gather*} \left [-\frac {\sqrt {-c} \log \left (4 \, c^{2} x^{2} - 4 \, b c x + b^{2} - {\left (2 \, c x - b\right )} \sqrt {-c} \sqrt {-\frac {4 \, c^{2} x^{2} - 4 \, b c x + b^{2} - 4 \, c}{c}} - 2 \, c\right )}{2 \, c}, -\frac {\arctan \left (\frac {{\left (2 \, c x - b\right )} \sqrt {c} \sqrt {-\frac {4 \, c^{2} x^{2} - 4 \, b c x + b^{2} - 4 \, c}{c}}}{4 \, c^{2} x^{2} - 4 \, b c x + b^{2} - 4 \, c}\right )}{\sqrt {c}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} 2 \int \frac {1}{\sqrt {- \frac {b^{2}}{c} + 4 b x - 4 c x^{2} + 4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 65 vs.
\(2 (19) = 38\).
time = 1.55, size = 65, normalized size = 2.83 \begin {gather*} \frac {\sqrt {-c} \log \left (b \sqrt {-c} c - {\left (2 \, \sqrt {-c^{3}} x - \sqrt {-4 \, c^{3} x^{2} + 4 \, b c^{2} x - b^{2} c + 4 \, c^{2}}\right )} {\left | c \right |}\right )}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.41, size = 46, normalized size = 2.00 \begin {gather*} \frac {\ln \left (\frac {b-2\,c\,x}{\sqrt {-c}}+\sqrt {4\,b\,x+\frac {4\,c-b^2}{c}-4\,c\,x^2}\right )}{\sqrt {-c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________